package enums;

/**
 *
 * @author jm1156
 */
public enum MonthEnum { 	 	 	 	 	 	 	 	 	
    JANUARY(1, "January", "JAN"),
    FEBRUARY(2, "February", "FEB"),
    MARCH(3, "March", "MAR"),
    APRIL(4, "April", "APR"),
    MAY(5, "May", "MAY"),
    JUNE(6, "June", "JUN"),
    JULY(7, "July", "JUL"),
    AUGUST(8, "August", "AUG"),
    SEPTEMBER(9, "September", "SEP"),
    OCTOBER(10, "October", "OCT"),
    NOVEMBER(11, "November", "NOV"),
    DECEMBER(12, "December", "DEC");
    
    public String monthName;
    public String shortMonthName;
    public int monthNumber;

    private MonthEnum(int monthNumber, String monthName, String shortMonthName) {
        this.monthName = monthName;
        this.shortMonthName = shortMonthName;
        this.monthNumber = monthNumber;
    }

    public String getMonthName() {
        return monthName;
    }

    public int getMonthNumber() {
        return monthNumber;
    }

    public String getShortMonthName() {
        return shortMonthName;
    }

    @Override
    public String toString() {
        return monthNumber + " ("+shortMonthName + ")";
    }
    
    
    
    
}
